import {constantRoutes} from '@/router'

const state = {
    routes: constantRoutes
}
const mutations=  {
    setRoutes(state, newRoutes)
}
const actions = {}
export default {
    namespaced: true,
    const unsubscribe = this.$store.subscribeAction((action, state) => {
        mutations
    });
}